package cn.edu.sdu.order.backend.dao;

import cn.edu.sdu.order.backend.model.Fpga;
import cn.edu.sdu.order.backend.model.FpgaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component(value = "fpgaMapper")
public interface FpgaMapper {
    long countByExample(FpgaExample example);

    int deleteByExample(FpgaExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Fpga record);

    int insertSelective(Fpga record);

    List<Fpga> selectByExample(FpgaExample example);

    Fpga selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Fpga record, @Param("example") FpgaExample example);

    int updateByExample(@Param("record") Fpga record, @Param("example") FpgaExample example);

    int updateByPrimaryKeySelective(Fpga record);

    int updateByPrimaryKey(Fpga record);
}